package com.qf.Dao;

import com.qf.entity.PatientInfo;

import java.sql.SQLException;
import java.util.List;

public interface PatientInfoDao {
    //查询全部
    List<PatientInfo> selectPatientInfo(String name) throws SQLException;

    //删除
    int deletePatientInfo(String name) throws SQLException;

    //添加
    int addPatientInfo(PatientInfo patientInfo) throws SQLException;

    //改
    int updatePatientInfo(PatientInfo patientInfo) throws SQLException;
}
